#include <stdio.h>

struct student {
	char *name;
	int korean;
};

int main()
{
	int i;
	int len = 3;
	int sum = 0;

	struct student st[] = {
		{ "Kim, CheolSoo", 80 },
		{ "Lee, YoungHee", 90 },
		{ "Hong, KilDong", 82 },
	};

	for (i = 0; i < len; i++) {
		printf("%s: %d\n", st[i].name, st[i].korean);
		sum += st[i].korean;
	}
	printf("average: %g\n", (float) sum / (float) len);

	return 0;
}
